package grape.attend.rest.user.mapper;

import grape.attend.service.user.po.UserClockDate;
import grape.common.rest.mvc.WebMapper;
import org.mapstruct.Mapper;
import grape.attend.rest.user.form.UserClockDateCreateForm;
import grape.attend.rest.user.form.UserClockDateUpdateForm;
import grape.attend.rest.user.form.UserClockDateListPageForm;
import grape.attend.rest.user.vo.UserClockDateVo;
import org.mapstruct.ReportingPolicy;
/**
 * <p>
 * 用户打卡日期表 前端领域模型映射
 * </p>
 *
 * @author yangwei
 * @since 2020-05-25
 */
@Mapper(componentModel = "spring",unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface UserClockDateWebMapper extends WebMapper<UserClockDateVo, UserClockDate> {

    UserClockDate formToPo(UserClockDateCreateForm f);
    UserClockDate formToPo(UserClockDateUpdateForm f);
    UserClockDate formToPo(UserClockDateListPageForm f);
}
